package com.sc.nft.entity.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class ADDEcologyIncomeServiceCenterConfRequest {

    private Long id;

    @ApiModelProperty(value = "DAOId")
    @NotNull(message = "服务中心不能为为空")
    private Long daoId;

    @ApiModelProperty(value = "拉新人数")
    @NotNull(message = "拉新人数不能为为空")
    private Integer newUserNum;

    @ApiModelProperty(value = "熔炼组数")
    @NotNull(message = "熔炼组数不能为为空")
    private Integer smeltingNum;

    @ApiModelProperty(value = "共振品牌分成比例")
    @DecimalMin(value = "0.00", message = "共振品牌分成比例不能为负数")
    private BigDecimal resonanceDaoDivideIntoScale;

    @ApiModelProperty(value = "共振服务中心dao分成比例")
    @DecimalMin(value = "0.00", message = "共振服务中心dao分成比例不能为负数")
    private BigDecimal resonanceServiceCenterDaoDivideIntoScale;
}
